package com.carsys.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor  //有参构造
@NoArgsConstructor  //无参构造
public class Car {

    private Integer id;     //汽车id

    private String name;   //汽车名

    private String type;    //汽车类型

    private Integer sitnum;     //座位数

    private Integer cid;        //在哪个店铺里 店铺id

    private Double  price;      //价格

    private Integer number;             //数量

    private String picture;     //图片
}
